package com.five.community.bean.vo;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class PersonVo {
    private long id;
    @NonNull
    private String vname;
    @NonNull
    private String hname;
    @NonNull
    private String name;
    @NonNull
    private String photo;
    @NonNull
    private String identificationNum;
    @NonNull
    private String tel;
    @NonNull
    private String job;
    @NonNull
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    private Date birthday;
    @NonNull
    private boolean gender;
    @NonNull
    private String type;
    @NonNull
    private String remark;
    @NonNull
    private Date createTime;
}
